﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class NetMsg
{
    ///// <summary>
    ///// 该字典通过定义byte（传输双方约定发送数据）
    ///// </summary>
    //public Dictionary<byte, object> ParameterDic
    //{
    //    get;
    //    set;
    //}

    //public object this[byte parameterKey]
    //{
    //    get
    //    {
    //        return ParameterDic[parameterKey];
    //    }
    //    set
    //    {
    //        ParameterDic[parameterKey] = value;
    //    }
    //}

    /// <summary>
    /// 区域码
    /// </summary>
    public byte AreaCode;

    /// <summary>
    /// 操作码
    /// </summary>
    public byte OperationCode;

    /// <summary>
    /// 子操作码
    /// </summary>
    public byte SubCode;

    /// <summary>
    /// 返回码
    /// </summary>
    public byte ReturnCode;

    public string Value;
}
